/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="KITMEDICO")
public class KitMedicoProteu implements Serializable{

    @Id
    @Column(name="KIM_IN_CODIGO")
    private Integer kimInCodigo;
    @Column(name="KIM_ST_DESCRICAO")
    private String kimStDescricao;
    @Column(name="SIM_ST_CODIGO")
    private String simStCodigo;
    @Column(name="SIM_FL_VALOR")
    private Float simFlValor;
    @Column(name="KIM_FL_VALOT_TOTAL")
    private Float kimFlValotTotal;


    public Float getKimFlValotTotal() {
        return kimFlValotTotal;
    }

    public void setKimFlValotTotal(Float kimFlValotTotal) {
        this.kimFlValotTotal = kimFlValotTotal;
    }

    public Integer getKimInCodigo() {
        return kimInCodigo;
    }

    public void setKimInCodigo(Integer kimInCodigo) {
        this.kimInCodigo = kimInCodigo;
    }

    public String getKimStDescricao() {
        return kimStDescricao;
    }

    public void setKimStDescricao(String kimStDescricao) {
        this.kimStDescricao = kimStDescricao;
    }

    public Float getSimFlValor() {
        return simFlValor;
    }

    public void setSimFlValor(Float simFlValor) {
        this.simFlValor = simFlValor;
    }

    public String getSimStCodigo() {
        return simStCodigo;
    }

    public void setSimStCodigo(String simStCodigo) {
        this.simStCodigo = simStCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final KitMedicoProteu other = (KitMedicoProteu) obj;
        if (this.kimInCodigo != other.kimInCodigo && (this.kimInCodigo == null || !this.kimInCodigo.equals(other.kimInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 71 * hash + (this.kimInCodigo != null ? this.kimInCodigo.hashCode() : 0);
        return hash;
    }



}
